const mongoose = require('./connection')

const catSchema = new mongoose.Schema({
    catname: String  // 分类
})

const catModel = mongoose.model('category', catSchema, 'category')
// 导出
module.exports = catModel

// 分类表